package com.umeox.watch.moto.apiclient.model;

/**
 * Created by Rambo 2022/9/16
 * Describe:
 */
public class PrayerSettingDTO {
    /**
     * calcMethod : {"name":"惯例名称","note":"惯例描述","fajrAngle":17.5,"maghribSelector":0,"maghribValue":0,"ishaSelector":1,"ishaValue":15,"index":90}
     * asrJuristicMethod : 0
     * azan : 11111
     * prayerReminder : 30
     */

    public CalcMethodBean calcMethod;
    public int asrJuristicMethod;
    public String azan;
    public int prayerReminder;

    public static class CalcMethodBean {
        /**
         * name : 惯例名称
         * note : 惯例描述
         * fajrAngle : 17.5
         * maghribSelector : 0
         * maghribValue : 0
         * ishaSelector : 1
         * ishaValue : 15
         * index : 90
         */

        public String name;
        public String note;
        public double fajrAngle;
        public int maghribSelector;
        public double maghribValue;
        public int ishaSelector;
        public double ishaValue;
        public int index;

        @Override
        public String toString() {
            return "CalcMethodBean{" +
                    "name='" + name + '\'' +
                    ", note='" + note + '\'' +
                    ", fajrAngle=" + fajrAngle +
                    ", maghribSelector=" + maghribSelector +
                    ", maghribValue=" + maghribValue +
                    ", ishaSelector=" + ishaSelector +
                    ", ishaValue=" + ishaValue +
                    ", index=" + index +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "PrayerSettingDTO{" +
                "calcMethod=" + calcMethod.toString() +
                ", asrJuristicMethod=" + asrJuristicMethod +
                ", azan='" + azan + '\'' +
                ", prayerReminder=" + prayerReminder +
                '}';
    }
}
